package com.lagou.edu.com.lagou.edu.model;

import lombok.Data;

import java.util.Date;

/**
 * IP访问记录实体
 */
@Data
public class IPRecord {
    private String ip;
    private Integer accessCount;
    private Long recordTimestamp;

    public IPRecord(String ip, Integer accessCount, Long recordTimestamp) {
        this.ip = ip;
        this.accessCount = accessCount;
        this.recordTimestamp = recordTimestamp;
    }
}
